package com.atguigu.yygh.order;

import org.springframework.stereotype.Service;

import com.atguigu.yygh.vo.order.OrderCountQueryVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.Map;

/**
 * @FileName: DictFeignClient 数据字典API接口
 * @Author Steven
 * @Date: 2021/3/23
 */
@Service
@FeignClient("service-order")
public interface OrderFeignClient {
    /**
     * 获取订单统计数据
     * @param orderCountQueryVo 查询条件
     * @return 订单统计数据
     */
    @PostMapping("/api/order/orderInfo/inner/getCountMap")
    Map<String, Object> getOrderCount(@RequestBody OrderCountQueryVo orderCountQueryVo);

}
